<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="org.skywind.WindSearch.util.*,java.util.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	Guest st = (Guest) request.getSession().getAttribute(
			"guest");
	List list = st.getCorrelations();
	if (list != null && list.size() > 0) {
%>
<div align="center" style="float: left; margin-left: 12px;">
	<table>
		<tr>
			<td valign="top">
				${talk.correlation }
			</td>
			<td valign="top">
				<table width="520" border="0" cellpadding="0" cellspacing="0">
					<%
						int size = 6;
							for (int i = 0; i < list.size(); i += size) {
								int end = i + size;
								end = end > list.size() ? list.size() : end;
								List keys = list.subList(i, end);
								pageContext.setAttribute("keys", keys);
					%>
					<tr>
						<c:forEach items="${keys}" var="key">
							<td height="26" valign="top">
								<a title="${key.key }" href="search?q=${key.key}">${key.key
									}</a>
							</td>
						</c:forEach>
					</tr>
					<%
						}
					%>
				</table>
			</td>
		</tr>
	</table>
</div>
<%
	}
%>